using System;
using System.Collections.Generic;

namespace UnityEngine.Recorder.Input
{
	public class RenderTextureInputSettings : ImageInputSettings
	{
		public RenderTexture m_SourceRTxtr;

		public override Type inputType => typeof(RenderTextureInput);

		public override bool ValidityCheck(List<string> errors)
		{
			bool result = true;
			if (m_SourceRTxtr == null)
			{
				result = false;
				errors.Add("Missing source render texture object/asset.");
			}
			return result;
		}
	}
}
